﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System
Imports System.Collections.ObjectModel
Imports System.Drawing

Namespace roncliProductions.LibWowArmory.Character.Sheet

    ''' <summary>
    ''' A class that encapsulates an arena team
    ''' </summary>
    ''' <remarks></remarks>
    Public Class ArenaTeam

        Private mMembers As Collection(Of ArenaTeamMember)

        ''' <summary>
        ''' The team's members
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Members As Collection(Of ArenaTeamMember)
            Get
                Return mMembers
            End Get
        End Property

        Public Property Created As Long

        ''' <summary>
        ''' The number of games the team has played
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property GamesPlayed As Integer

        ''' <summary>
        ''' The number of games the team has won
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property GamesWon As Integer

        ''' <summary>
        ''' The team's ranking from last season
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property LastSeasonRanking As Integer

        ''' <summary>
        ''' The name of the team
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' The team's current ranking
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Ranking As Integer

        ''' <summary>
        ''' The team's current rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Rating As Integer

        ''' <summary>
        ''' The number of games the team has played this season
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SeasonGamesPlayed As Integer

        ''' <summary>
        ''' The number of games the team has won this season
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SeasonGamesWon As Integer

        ''' <summary>
        ''' The size of the arena team
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Size As Integer

        ''' <summary>
        ''' The URL of the arena team
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property URL As String

        ''' <summary>
        ''' The background color of the team's emblem
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property EmblemBackground As Color

        ''' <summary>
        ''' The border color of the team's emblem
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property EmblemBorderColor As Color

        ''' <summary>
        ''' The border style of the team's emblem
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property EmblemBorderStyle As Integer

        ''' <summary>
        ''' The icon color of the team's emblem
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property EmblemIconColor As Color

        ''' <summary>
        ''' The icon style of the team's emblem
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property EmblemIconStyle As Integer

        ''' <summary>
        ''' A constructor to create new arena team information
        ''' </summary>
        ''' <param name="mMembers"></param>
        ''' <param name="lngCreated"></param>
        ''' <param name="intGamesPlayed"></param>
        ''' <param name="intGamesWon"></param>
        ''' <param name="intLastSeasonRanking"></param>
        ''' <param name="strName"></param>
        ''' <param name="intRanking"></param>
        ''' <param name="intRating"></param>
        ''' <param name="intSeasonGamesPlayed"></param>
        ''' <param name="intSeasonGamesWon"></param>
        ''' <param name="intSize"></param>
        ''' <param name="strURL"></param>
        ''' <param name="colEmblemBackground"></param>
        ''' <param name="colEmblemBorderColor"></param>
        ''' <param name="intEmblemBorderStyle"></param>
        ''' <param name="colEmblemIconColor"></param>
        ''' <param name="intEmblemIconStyle"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal mMembers As Collection(Of ArenaTeamMember), ByVal lngCreated As Long, ByVal intGamesPlayed As Integer, ByVal intGamesWon As Integer, ByVal intLastSeasonRanking As Integer, ByVal strName As String, ByVal intRanking As Integer, ByVal intRating As Integer, ByVal intSeasonGamesPlayed As Integer, ByVal intSeasonGamesWon As Integer, ByVal intSize As Integer, ByVal strURL As String, ByVal colEmblemBackground As Color, ByVal colEmblemBorderColor As Color, ByVal intEmblemBorderStyle As Integer, ByVal colEmblemIconColor As Color, ByVal intEmblemIconStyle As Integer)
            Me.mMembers = mMembers
            Created = lngCreated
            GamesPlayed = intGamesPlayed
            GamesWon = intGamesWon
            LastSeasonRanking = intLastSeasonRanking
            Name = strName
            Ranking = intRanking
            Rating = intRating
            SeasonGamesPlayed = intSeasonGamesPlayed
            SeasonGamesWon = intSeasonGamesWon
            Size = intSize
            URL = strURL
            EmblemBackground = colEmblemBackground
            EmblemBorderColor = colEmblemBorderColor
            EmblemBorderStyle = intEmblemBorderStyle
            EmblemIconColor = colEmblemIconColor
            EmblemIconStyle = intEmblemIconStyle
        End Sub

    End Class

End Namespace
